﻿using System.Windows.Input;

namespace ClientOverflow.ViewModels.Interfaces
{
    /// <summary>
    /// Interface that extends the ICommand interface supplied by the .NET framework. The extension adds a
    /// declaration of name to the commands. This interface is used in the context of dynamic menus. Every
    /// menu item is bounded to a command, using the extension, the Name property provides a display name
    /// for the menu item.
    /// </summary>
    public interface INamedCommand : ICommand
    {
        string Name { get; }
    }
}